package com.ustze.ocr.properties;

import com.ustze.ocr.type.ali.properties.AliOcrProperties;
import com.ustze.ocr.type.baidu.properties.BaiduOcrProperties;
import com.ustze.ocr.type.tencent.properties.TencentOcrProperties;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;
import org.springframework.context.annotation.Configuration;

@Data
@ConfigurationProperties(prefix = "ocr")
@Configuration
public class OcrProperties {


    @NestedConfigurationProperty
    private AliOcrProperties ali;

    @NestedConfigurationProperty
    private BaiduOcrProperties baidu;


    @NestedConfigurationProperty
    private TencentOcrProperties tencent;

}
